﻿package org.aquiferserver.client.flex
{
	import flash.events.Event;
	import org.aquiferserver.common.AquiferMessage;
	
	/**
	 * ...
	 * @author Seth Albanese
	 * @version $Id: MessageHandler.as 60 2009-06-15 08:47:09Z salbanese0080@gmail.com $
	 */
	public interface MessageHandler 
	{
		function handleMessage( msg:AquiferMessage, state:GameState ) : void;
		function get hasResponse() : Boolean;
		function get response() : AquiferMessage;
		function get generatesEvent() : Boolean;
		function get event() : Event;
	}
	
}